#pragma once

#include <QDialog>
#include "ui_AcquireSaveDialog.h"
#include "Config.h"
#include "UiCommon.h"

class AcquireSaveDialog : public QDialog
{
    Q_OBJECT

public:
    AcquireSaveDialog(QWidget *parent = Q_NULLPTR);
    ~AcquireSaveDialog();
    
    void setConfig(SaveConfig param);
    SaveConfig config();

protected slots:    
    void on_btnSelPath_clicked();

private:
    void uiToParam();
    void paramToUi();

    virtual void accept();
    virtual void reject();    

    SaveConfig m_saveConfig;
    Ui::AcquireSaveDialog ui;
};
